cssnode: Always return correct style values
authorBenjamin Otte <otte@redhat.com>
Sun, 22 Feb 2015 22:11:22 +0000 (23:11 +0100)
committerBenjamin Otte <otte@redhat.com>
Wed, 18 Mar 2015 14:23:32 +0000 (15:23 +0100)
commitdf51bc836b24a67a2238a8ae7c2876a21c91a604
tree2a4a4533952cd2ebb44246a3a6f974f21933d878
parent3d1e2a055897287cb59b3969e0742d5c7d03f003
cssnode: Always return correct style values

If CSS values are queried from a widget, recompute them if necessary. Do
not emit style-updated until the validation phase however.

This way, we don't run into performance traps when style-update causes
invalidations that cause new style-updated to be emitted.
gtk/gtkcsswidgetnode.c
gtk/gtkcsswidgetnodeprivate.h